//
//  YZEMyBasicinfoViewController.h
//  yilutongxing
//
//  Created by T&J on 2017/3/23.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^PickBlock)(NSString *address,NSArray *selections);

@protocol YZEMyBasicinfoValueSetter <NSObject>
-(void)backHeadImage:(UIImage*)img;
@end

@interface YZEMyBasicinfoViewController : UITableViewController
@property (nonatomic, weak) id<YZEMyBasicinfoValueSetter> delegate;
@property (weak, nonatomic) IBOutlet UITableViewCell *avatar;
@property (weak, nonatomic) IBOutlet UITableViewCell *name;
@property (weak, nonatomic) IBOutlet UITableViewCell *shoushu_type;
@property (weak, nonatomic) IBOutlet UITableViewCell *gender;
@property (weak, nonatomic) IBOutlet UITableViewCell *birthdate;
@property (weak, nonatomic) IBOutlet UITableViewCell *shoushu_hospital;
@property (weak, nonatomic) IBOutlet UITableViewCell *patient_hisbook_no; //病例号
@property (weak, nonatomic) IBOutlet UITableViewCell *patient_id_no; //诊卡号
@property (weak, nonatomic) IBOutlet UITableViewCell *area;
@property (weak, nonatomic) IBOutlet UITableViewCell *address;

@property (nonatomic, strong) NSIndexPath *current_cell_index;

@property (nonatomic,strong) NSArray *selections; //!< 选择的三个下标
@property (nonatomic,copy) NSString *pushAddress; //!< 展示的地址

@property (nonatomic,copy) PickBlock pickDone; //!< 回调地址的block
@end
